package app.models.activity;

import com.github.sog.annotation.TableBind;
import com.github.sog.plugin.sqlinxml.SqlKit;
import com.jfinal.plugin.activerecord.Model;

import java.util.List;

/**
 * <p>
 * .
 * </p>
 *
 * @author liuhui
 * @version 1.0 2014-06-05 19:06
 * @since JDK 1.6
 */
@TableBind(tableName = "ol_mall_activity_stat",pkName = "activity")
public class MallActivityStat extends Model<MallActivityStat> {

    public static final MallActivityStat dao = new MallActivityStat();

    private static final long serialVersionUID = 6800594393277558203L;

    public List<MallActivityStat> getTopTimes() {
        return find(SqlKit.sql("mallactivitystat.getTopTimes"));
    }
}
